import { extend } from 'flarum/extend';
import app from 'flarum/app';

import XunSearchSettingsModal from './components/XunSearchSettingsModal';

app.initializers.add('jjandxa-chinese-search', app => {
  app.extensionSettings['jjandxa-chinese-search'] = () => app.modal.show(new XunSearchSettingsModal());
});
